package com.hoyue.attendance.service;

import com.hoyue.attendance.bean.Attendance;
import com.hoyue.attendance.bean.AttendanceVo;

import java.util.List;

/**
 * @author zhouyong
 * @date 2019/8/20 21:00
 */
public interface AttendanceService {
    // 查询所有信息
    public List<AttendanceVo> selectAll(AttendanceVo attendanceVo);

    // 增加考勤
    public void addAttence(Integer id, Integer studentid, Integer teachingid, Integer state,
                           Integer typ, String starttime, Integer code, String endtime);

    // 查询课程名称和教师名字
    public List<AttendanceVo> selectCourseAnduser(AttendanceVo attendanceVo);

    // 查询签到码是否正确
    public Integer attendIn(AttendanceVo attendanceVo);

    // 根据老师姓名模糊查询签到信息
    public List<AttendanceVo> checkMessage(AttendanceVo attendanceVo);

    // 根据id查询相关学生的信息
    public List<AttendanceVo> selectStudentMess(Integer id);

    // 更新学生签到信息
    public int updateStudent(AttendanceVo attendanceVo);
}
